package com.internetCafes.spms.web.sys.service;

import com.internetCafes.spms.core.model.pageModel.DataGrid;
import com.internetCafes.spms.web.sys.model.EducationArticleInfo;
import com.internetCafes.spms.web.sys.model.PolicyInfo;

import java.util.List;
import java.util.Map;

/**
 * @author LinYe
 * @date 2020/10/29
 */
public interface EducationArticleInfoService {
    DataGrid dataGrid(Map<String, Object> params, int pageNo, int pageSize);

    int saveEducationArticle(EducationArticleInfo educationArticleInfo);

    int deleteEducationArticle(Long id);

    int updateEducationArticle(EducationArticleInfo educationArticleInfo);

    List<EducationArticleInfo> getEducationArticleDetail(Map<String,Object> params);
}
